package com.ruoyi.cmelasercladding.service.impl;

import com.ruoyi.cmelasercladding.domain.ZsCladdingProcess;
import com.ruoyi.cmelasercladding.mapper.ZsCladdingProcessMapper;
import com.ruoyi.cmelasercladding.service.IZsCladdingProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * cmelasercladdingService业务层处理
 * 
 * @author zousong
 * @date 2022-03-10
 */
@Service
public class ZsCladdingProcessServiceImpl implements IZsCladdingProcessService 
{
    @Autowired
    private ZsCladdingProcessMapper zsCladdingProcessMapper;

    /**
     * 查询cmelasercladding
     * 
     * @param id cmelasercladding主键
     * @return cmelasercladding
     */
    @Override
    public ZsCladdingProcess selectZsCladdingProcessById(Long id)
    {
        return zsCladdingProcessMapper.selectZsCladdingProcessById(id);
    }

    /**
     * 查询cmelasercladding列表
     * 
     * @param zsCladdingProcess cmelasercladding
     * @return cmelasercladding
     */
    @Override
    public List<ZsCladdingProcess> selectZsCladdingProcessList(ZsCladdingProcess zsCladdingProcess)
    {
        return zsCladdingProcessMapper.selectZsCladdingProcessList(zsCladdingProcess);
    }

    /**
     * 新增cmelasercladding
     * 
     * @param zsCladdingProcess cmelasercladding
     * @return 结果
     */
    @Override
    public int insertZsCladdingProcess(ZsCladdingProcess zsCladdingProcess)
    {
        return zsCladdingProcessMapper.insertZsCladdingProcess(zsCladdingProcess);
    }

    /**
     * 修改cmelasercladding
     * 
     * @param zsCladdingProcess cmelasercladding
     * @return 结果
     */
    @Override
    public int updateZsCladdingProcess(ZsCladdingProcess zsCladdingProcess)
    {
        return zsCladdingProcessMapper.updateZsCladdingProcess(zsCladdingProcess);
    }

    /**
     * 批量删除cmelasercladding
     * 
     * @param ids 需要删除的cmelasercladding主键
     * @return 结果
     */
    @Override
    public int deleteZsCladdingProcessByIds(Long[] ids)
    {
        return zsCladdingProcessMapper.deleteZsCladdingProcessByIds(ids);
    }

    /**
     * 删除cmelasercladding信息
     * 
     * @param id cmelasercladding主键
     * @return 结果
     */
    @Override
    public int deleteZsCladdingProcessById(Long id)
    {
        return zsCladdingProcessMapper.deleteZsCladdingProcessById(id);
    }
}
